package pay.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import pay.config.DataBaseName;
import pay.entity.dto.ClubUserDto;

import java.sql.Date;
import java.util.List;

/**
 * 俱乐部;undefined
 *
 * @author : http://www.chiner.pro
 * @date : 2025-1-24
 */

@TableName("club")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClubEntity extends BaseEntity {
    /**
     * 自增id
     */
    @TableId
    private Integer id;
    /**
     * 俱乐部名称
     */
    @TableField("name")
    private String name;
    /**
     * 俱乐部logo
     */
    @TableField("logo")
    private String logo;

    @TableField(exist = false)
    private String logoUrl;
    /**
     * 0 不支持 1 支持  跑步
     */
    @TableField("is_run")
    private Integer isRun;
    /**
     * 0 不支持 1 支持  骑行
     */
    @TableField("is_ride")
    private Integer isRide;
    /**
     * 0 不支持 1 支持  游泳
     */
    @TableField("is_swim")
    private Integer isSwim;
    /**
     * 0 不支持 1 支持  越野跑
     */
    @TableField("is_trail_running")
    private Integer isTrailRunning;
    /**
     * 描述
     */
    @TableField("`describe`")
    private String describe;

    /**
     * 审核人id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 删除
     */
    @TableField("del")
    @TableLogic
    private Integer del;


    /**
     * 账号 处于什么状态
     * 俱乐部
     * 0 无关联
     * 1 已加入
     * 2 已申请
     */
    @TableField(exist = false)
    private Integer status;

    @TableField(exist = false)
    private Integer newClubStatus;

    @TableField(exist = false)
    private Integer clubJoinId;

    @TableField(exist = false)
    private Integer clubUserType;

    @TableField(exist = false)
    private List<ClubUserEntity> clubUserList;

    @TableField(exist = false)
    private List<ClubBannerEntity> clubBannerList;

    @TableField(exist = false)
    private List<ClubUserEntity> clubManager;

    @TableField(exist = false)
    private ClubUserDetailEntity clubUserDetail;

    @TableField(exist = false)
    private String phone;

    @TableField("slogan")
    private String slogan;

    @TableField("pdf")
    private String pdf;

    @TableField(exist = false)
    private ClubEntity newClub;

    @TableField(exist = false)
    private List<ClubApplyEntity> clubApplyList;
    @TableField(exist = false)
    private ClubApplyEntity clubApply;
    @TableField(exist = false)
    private List<ClubUserDto> userList;


}